package org.qdao.model;

import java.sql.Date;

import org.qdao.annotation.Column;
import org.qdao.annotation.Column.DBColumnType;
import org.qdao.annotation.PrimaryKey;
import org.qdao.annotation.Table;

@Table(name = "T_PERSON", description = "人员信息表")
public class Person {
	@Column(name = "DEFINITION", description = "人员信息", length = 64, type = DBColumnType.VARCHAR, nullable = false)
	@PrimaryKey()
	public String name;

	@Column(name = "MOLD", description = "类型", length = 64, type = DBColumnType.VARCHAR, nullable = false)
	@PrimaryKey()
	public String type;

	@Column(name = "BIRTHDATE", description = "生日", type = DBColumnType.DATE, nullable = false)
	@PrimaryKey()
	public Date birthdate;
}
